package com.song.service;

import com.song.vo.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;

import javax.websocket.server.PathParam;

/**
 * @Author Klys
 * @Date 2023/5/29 11:03
 * @Description
 * @Version 1.0
 */
@Component
@FeignClient(name = "api01", path = "jinfang")
public interface FeignService {

    @PostMapping("/test/v1/test06")
    CommonResult rpc01(@PathParam("parm") String parm);
}
